package com.example.patient.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author wxy
 * @Date 2021/1/18 11:10
 * @Version 1.0
 */
@Data
@ApiModel(value = "问诊、就诊、记录对话请求体")
public class IMSaveReq implements Serializable {
    private static final long serialVersionUID = 1752627497080627522L;

    @ApiModelProperty(value = "id")
    private Long ID;
    @ApiModelProperty(value = "会话标识")
    private Long OCID;
    @ApiModelProperty(value = "对话类型(1：患者To医生 2：医生To患者)")
    private Integer IMType;
    @ApiModelProperty(value = "发送人ID")
    private String FromHX;
    @ApiModelProperty(value = "接收人ID")
    private String ToHX;
    @ApiModelProperty(value = "对话日期")
    private Date DateTime;
    @ApiModelProperty(value = "内容")
    private String IMContent;
    @ApiModelProperty(value = "是否已读")
    private Boolean HaveRead;
    @ApiModelProperty(value = "类型(1.文本消息 2.图片消息 3.电子处方 4.图文问诊 5.语音 6.发起随访 7.回答随访 8.结束问诊提示 9.接诊 10.视频 11.音频)")
    private Integer CType;
    @ApiModelProperty(value = "药品类型(1=中医 2=西医)")
    private Integer DType;
    @ApiModelProperty(value = "处方订单号(订单号)")
    private String RxOrderNO;
}
